package com.whut.mobilesafe.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.view.GestureDetector;
import android.view.GestureDetector.SimpleOnGestureListener;
import android.view.MotionEvent;
import android.view.View;
import android.view.animation.TranslateAnimation;
import android.widget.RelativeLayout;
import android.widget.Toast;

import com.whut.mobilesafe.R;

/**
 * 作    者:yubo.xiaoyubo
 * 时    间：2015/12/22 20:18
 * 版    本：1.0
 * 描    述： 设置第一部的页面
 */
public class Step1Activity extends BaseStepActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_setup1);
    }

    @Override
    public void showNext() {
        startActivity(new Intent(this, Step2Activity.class));
        finish();
        // 两个activity之间切换的动画, 应该放在finish之后运行
        overridePendingTransition(R.anim.anim_left_in, R.anim.anim_left_out);
    }

    @Override
    public void showPrevious() {}
}
